home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Otherware
/
Otherware_1_SB_Development.iso
/
mac
/
util
/
comm
/
hytel63.sit
/
Hytelnet data
/
oth
/
oth038
< prev
next >
Wrap
Text File
|
1992-10-15
|
3KB
|
125 lines
Libsearch: automatic connection to library databases
TELNET PL122A.EECS.LEHIGH.EDU or 128.180.5.52
login: tb06
Password:jia.fu
PL122a% cd /scratch/china.primitive/expect/test/thesis
# --- Creators
Terrence Brannon (brannon@jove.cs.caltech.edu)
Janne Himanka (shem@phoenix.oulu.fi)
# --- Description
Libsearch does all of the following
o Automatic connection to library databases
o Automatic translation from Libsearch's generic query language to
the syntax of the particular library database
o Automatic Logout
It beautifies and exploits the fact that everything in Tcl is a string.
# --- To Try it Out
-*- 1
telnet to pl122a.eecs.lehigh.edu
login as tb06 with password jia.fu
cd to /scratch/china.primitive/expect/test/thesis
-*- 2
from the shell type
libsearch NAME KEY SPECIFIC
where NAME is (quotes required):
"Aberdeen University"
"Aberystwth University"
"Bar-Ilan University"
"Ben-Gurion University"
"Haifa University"
"Hebrew University"
"Lehigh University"
"Technion"
"Tel Aviv University"
"Weizmann Institute of Science"
"Arizona State University"
"Aston University"
"Athabasca University"
"Helsinki University Libraries"
"Finnish National Bibliography"
"Karolinska Institutet"
Instead of entering the entire name, you can enter a regular expression, BUT
DO NOT FORGET THE DOT. Ie, if you want to enter "Aberdeen University" you can
enter "Aberdeen.*" but NOT "Aber*"
where KEY is (no quotes required)
author
title
subject
In some cases you may be able to enter other keys such as issn, isbn but for
this demo, all extras like that are ignored.
where SPECIFIC is (play it safe and use quotes)
whatever you are looking for
Example: Search Athabasca University for books by the author John Steinbeck
libsearch "Athabasca University " author "Steinbeck, John"
or
libsearch "Athaba.*" author "Steinbeck, John"
Example: Search Aberdeen Univerisity for the subject peace
libsearch "Aberdeen University" subject peace
libsearch "Aberdeen.*" subject peace
-*- 3
After connection and the initial automatic query of the database from your
commandline specification, you are left in an interactive mode where you may
type commands in by hand if you wish. There are a number of predefined
commands that you can access by doing the following:
Type +
you will receive a prompt like this:
expect0.1>
at this prompt you can type any of these commands:
1) author XXX ; return
2) title YYY ; return
3) subject ZZZ ; return
4) eval $logout ; return
The first three issue another search command to the library database.
The last one logs you out.
# --- How to Obtain
Currently not available on any ftp sites.
Email brannon@jove.cs.caltech.edu
# --- Requirements
Local installation will require the latest versions of:
o Tcl "/anonymous@ftp.uu.net:/pub/languages/tcl"
o Extended Tcl "/anonymous@ftp.uu.net:/pub/languages/tcl"
o Expect "/anonymous@durer.cme.nist.gov:/pub/expect"
# --- To be added
Whatever is suggested
o When logging out, tell what site you have just left
o AutoScrolling should be part of the syntax file
--
Terrence Brannon (brannon@jove.cs.caltech.edu)
medical biology by way of atomic physics and esoteric religion